<template>
  <div class="son-a">
    我是aaa组件
    <button @click="btnClick">传值给bbb</button>
  </div>
</template>
<script>
export default {
  methods: {
    btnClick() {
      this.$bus.$emit('atob', Date.now())
    }
  }
}
</script>
<style lang="scss" scoped>
.son-a{
    width: 100px;
    height: 100px;
    border:5px solid red;
}
</style>
